<template>
	<view class="app-container">
		<text v-html="userAgree">{{userAgree}}</text>
	</view>
</template>

<script>
	import {
		getHowToPlay,
	} from "@/api/home.js"
	export default {
		data() {
			return {
				userAgree: ""
			}
		},
		onLoad() {
			this.fecthUserAgree()
		},
		methods: {
			fecthUserAgree() {
				getHowToPlay({
					type: '3'
				}).then(res => {
					this.userAgree = res.text
				})
			},
		}
	}
</script>

<style>
	.app-container {
		padding: 20px;
	}
</style>
